package com.msb.mall.common.valid.constraintValidator;

import com.msb.mall.common.valid.ValidListValue;

import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;

/**
 * @Author: lmf
 * @Create: 2025/2/12 17:26
 * Description:
 */
public class ListValueConstraintValidator implements ConstraintValidator<ValidListValue,Integer> {

    @Override
    public boolean isValid(Integer value, ConstraintValidatorContext context) {
        System.out.println("++++++++++++++++++>>>>");
        System.out.println(context);
        System.out.println("++++++++++++++++++>>>>");
        return false;
    }
}
